package com.spider.entites;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * @author panglin
 * @date 2020/11/19 10:36
 */
public class User {
    private Integer id;
    private String name;
    private String password;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "UTC")
    private Date createTime;
    private String salt;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }


    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }
}
